<li class="content_item">
<a href="[field:global.cfg_basehost/][field:array runphp='yes'] @me = GetOneTypeUrlA(@me);[/field:array]" class="link" title="[field:typename/]" target="_blank">
<img class="course-img-bg lazy-img" data-original="[field:bigpic function='mstrone(@me)'/]">
<div class="main_title">[field:typename/]</div>
<div class="sub_title">
[field:array runphp='yes']
global $cfg_dazhe,$cfg_zhekou,$cfg_dqtime;
$oprice = @me['price'];
$time = time();
$timestamp = strtotime($cfg_dqtime);
if(!empty($oprice))
{
if($cfg_dazhe == 'Y' && $timestamp > $time)
{
$dzprice = $oprice / 100 * $cfg_zhekou;
@me = "<span class=\"price\"><i>￥</i>{$dzprice} <small>￥{$oprice}</small></span>";}
else{
@me = "<span class=\"price\"><i>￥</i>{$oprice}</span>";}
}else{
@me = "<span class=\"ke-mianfei\">免费</span>";}
[/field:array]
<span class="item_right fr">[field:id function="JJgetCliak(@me)"/]次学习</span>
</div>
</a>
</li>